package cc.telecomdigital.tdstock.model;

import java.util.HashMap;

public class ForeignExchangeInfo
{
	public final static String				ADAPTER					= "FX";
	public final static String[]				SUBSCRIBE_ITEMS_DOLLAR		= /*{"AUD", "EUR", "GBP", "NZD" ,"CAD", "CHF", "JPY" ,"HKD"} */{
			"EUR", "JPY", "GBP", "AUD", "CHF", "NZD", "CAD", "HKD"		};
	public final static String[]				SUBSCRIBE_ITEMS_CROSSRATE	= /*{"AUDJPY", "EURCHF", "EURGBP" ,"EURJPY"};*/{
			"EURGBP", "EURCHF", "GBPJPY", "AUDJPY", "EURJPY", "CHFJPY"		};
	public final static String[]				SUBSCRIBE_ITEMS_HKDOLLAR		= /*{"AUDHKD", "CADHKD", "CHFHKD" ,"EURHKD", "GBPHKD" ,"JPYHKD", "NZDHKD"};*/{
			"EURHKD", "JPYHKD", "GBPHKD", "AUDHKD", "CHFHKD", "NZDHKD",
			"CADHKD"												};
	//public final static String [] SUBSCRIBE_FIELDS = { "FXName", "FXBid", "FXAsk", "FXHigh", "FXLow", "FXRemark"};
	public final static String				FXNAME					= "FXName";
	public final static String				FXBID					= "FXBid";
	public final static String				FXASK					= "FXAsk";
	public final static String				FXHIGH					= "FXHigh";
	public final static String				FXLOW					= "FXLow";
	public final static String				FXNET					= "FXNet";
	public final static String				FXNET_PERCENTAGE			= "FXNetPercentage";
	public final static String				FXPREV					= "FXPrev";

	public final static String				FXREMARK					= "FXRemark";

	public final static HashMap<String, String>	CODE_TO_NAME				= new HashMap<String, String>();
	static
	{
		/*	CODE_TO_NAME.put(SUBSCRIBE_ITEMS_DOLLAR[0], "歐元/美元");
			CODE_TO_NAME.put(SUBSCRIBE_ITEMS_DOLLAR[1], "美元/日圓");
			CODE_TO_NAME.put(SUBSCRIBE_ITEMS_DOLLAR[2], "英鎊/美元");
			CODE_TO_NAME.put(SUBSCRIBE_ITEMS_DOLLAR[3], "美元/瑞郎");
			CODE_TO_NAME.put(SUBSCRIBE_ITEMS_DOLLAR[4], "澳元/美元");
			CODE_TO_NAME.put(SUBSCRIBE_ITEMS_DOLLAR[5], "紐元/美元");
			CODE_TO_NAME.put(SUBSCRIBE_ITEMS_DOLLAR[6], "美元/加元");
			CODE_TO_NAME.put(SUBSCRIBE_ITEMS_DOLLAR[7], "美元/澳元");*/

		CODE_TO_NAME.put(SUBSCRIBE_ITEMS_DOLLAR[0], "歐元/美元");
		CODE_TO_NAME.put(SUBSCRIBE_ITEMS_DOLLAR[1], "美元/日圓");
		CODE_TO_NAME.put(SUBSCRIBE_ITEMS_DOLLAR[2], "英鎊/美元");
		CODE_TO_NAME.put(SUBSCRIBE_ITEMS_DOLLAR[3], "澳元/美元");
		CODE_TO_NAME.put(SUBSCRIBE_ITEMS_DOLLAR[4], "美元/瑞郎");
		CODE_TO_NAME.put(SUBSCRIBE_ITEMS_DOLLAR[5], "紐元/美元");
		CODE_TO_NAME.put(SUBSCRIBE_ITEMS_DOLLAR[6], "美元/加元");
		CODE_TO_NAME.put(SUBSCRIBE_ITEMS_DOLLAR[7], "美元/港元");

		CODE_TO_NAME.put(SUBSCRIBE_ITEMS_CROSSRATE[0], "歐元/英鎊");
		CODE_TO_NAME.put(SUBSCRIBE_ITEMS_CROSSRATE[1], "歐元/瑞郎");
		CODE_TO_NAME.put(SUBSCRIBE_ITEMS_CROSSRATE[2], "英鎊/日圓");
		CODE_TO_NAME.put(SUBSCRIBE_ITEMS_CROSSRATE[3], "澳元/日圓");
		CODE_TO_NAME.put(SUBSCRIBE_ITEMS_CROSSRATE[4], "歐元/日圓");
		CODE_TO_NAME.put(SUBSCRIBE_ITEMS_CROSSRATE[5], "瑞郎/日圓");

		CODE_TO_NAME.put(SUBSCRIBE_ITEMS_HKDOLLAR[0], "歐元/港元");
		CODE_TO_NAME.put(SUBSCRIBE_ITEMS_HKDOLLAR[1], "日圓/港元");
		CODE_TO_NAME.put(SUBSCRIBE_ITEMS_HKDOLLAR[2], "英鎊/港元");
		CODE_TO_NAME.put(SUBSCRIBE_ITEMS_HKDOLLAR[3], "澳元/港元");
		CODE_TO_NAME.put(SUBSCRIBE_ITEMS_HKDOLLAR[4], "瑞郎/港元");
		CODE_TO_NAME.put(SUBSCRIBE_ITEMS_HKDOLLAR[5], "紐元/港元");
		CODE_TO_NAME.put(SUBSCRIBE_ITEMS_HKDOLLAR[6], "加元/港元");

	}

	public static String[]					MONITOR_FIELDS				= {
			FXPREV, FXNET, FXNET_PERCENTAGE,FXBID, FXASK						};
}
